<template>
  <view class="register-container">
    <view class="title">注册</view>
    <view class="form-item">
      <text>请输入用户名</text>
      <input type="text" v-model="username" placeholder="用户名" />
    </view>
    <view class="form-item">
      <text>请输入密码</text>
      <input type="password" v-model="password" placeholder="密码" />
    </view>
    <view class="form-item">
      <text>请确认密码</text>
      <input type="password" v-model="confirmPassword" placeholder="确认密码" />
    </view>
    <button class="register-btn" @click="register">注册</button>
    <navigator url="/pages/lh111/lh111/lh111" class="login-link">已有账号？去登录</navigator>
  </view>
</template>

<script>
export default {
  data() {
    return {
      username: '',
      password: '',
      confirmPassword: ''
    };
  },
  methods: {
   
  }
};
</script>

<style scoped>

</style>